package com.ohs.bll.service;

import java.util.List;
import java.util.Map;

import com.ohs.dal.model.Tag;
import com.ohs.dal.model.Video;

public interface VideoService {
	
	public Video get(Long videoId);
	public void add(Video video);
	public void delete(Video video);
	public Map<String, List<Video>> loadTopVideos(int topSize);
	public Map<String, Video> searchVideo(String keyword) throws Exception;
	public List<Tag> getTags();
	public Tag getTag(Long tagId);
	public List<Video> findRefVideos(Long tagId, Long videoId);
	public List<Video> getLatestVideos(int topSize);
	public List<Video> listAll();
}
